<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>5种消息窗口使用</title>
		<!--导入jquery的核心类库 -->
		<script type="text/javascript" src="../js/jquery-1.8.3.js"></script>
		<!--树形 -->
		<script type="text/javascript" src="../js/ztree/jquery.ztree.all-3.5.js"></script>
		<!--导入easyui的核心类库-->
		<script type="text/javascript" src="../js/easyui/jquery.easyui.min.js"></script>
		<!--国际化-->
		<script type="text/javascript" src="../js/easyui/locale/easyui-lang-zh_CN.js"></script>
		<!--主题样式-->
		<link rel="stylesheet" href="../js/easyui/themes/default/easyui.css" />
		<!--图标样式-->
		<link rel="stylesheet" href="../js/easyui/themes/icons/icon.css">
		<script type="text/javascript">
			$(function() {
				/*	//警告窗口
					$.messager.alert("标题","你已被监控","warning")*/
					//确认窗口
					/*$.messager.confirm("删除提示","确认删除吗?",function(result){
						if(result) {
							alert("快速删除啦!!!")
						}else {
							alert("取消删除了!!!")
						}
					})*/
					//输入窗口
					/*$.messager.prompt("问卷调查","你今年多大?",function(val){
						if(val>10) {
							alert("哇靠你这大年龄想死啊,"+val)
						}else {
							alert("小子你太嫩了,"+val)
						}
						
					})*/
					//右下角窗口
					/*$.messager.show({
						title:"标题",
						msg:"减价大促销,<a href='http://www.baidu.com'>请猛戳这里,福利!!!血喷</a>" ,
						
						timeout:5000 //5秒后自动消失
					})*/
					//进度条窗口
					$.messager.progress({
						interval:1000 //每1秒增长10%
					});
					
					//定时器,5秒后消失
					window.setTimeout("$.messager.progress('close');",11000);
			});
		</script>
	</head>

	<body>

	</body>

</html>